package com.hibernate.ano;

/**
 * @author Kevin
 * @Description:
 * @date 2021/9/6 10:52
 */

@MyAnnotation(getValue = "anntation on class")
public class AnnotationDemo {
    @MyAnnotation(getValue = "annotation on field")
    public String name;

    @MyAnnotation(getValue = "annotation on method")
    public void hello() {}

    @MyAnnotation() // 故意不指定getValue
    public void defaultMethod() {}
}
